package org.syh.boyangfighthealthclub.entity;

/**
 * @Author: Ben
 * @Date: 2021/3/12 8:54
 */
public class Book {

    /**
     * id
     */
    private Integer id;
    /**
     * 书名
     */
    private String bookName;
    /**
     * 出版社名
     */
    private String publishName;
    /**
     * 作者
     */
    private String author;
    /**
     * 图书介绍
     */
    private String bookDescription;

    /**
     * 是否借阅
     */
    private String isBorrow;

    public Book(Integer id, String bookName, String publishName, String author, String bookDescription, String isBorrow) {
        this.id = id;
        this.bookName = bookName;
        this.publishName = publishName;
        this.author = author;
        this.bookDescription = bookDescription;
        this.isBorrow = isBorrow;
    }


    public Book(String bookName, String publishName, String author, String bookDescription, String isBorrow) {
        this.bookName = bookName;
        this.publishName = publishName;
        this.author = author;
        this.bookDescription = bookDescription;
        this.isBorrow = isBorrow;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getPublishName() {
        return publishName;
    }

    public void setPublishName(String publishName) {
        this.publishName = publishName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBookDescription() {
        return bookDescription;
    }

    public void setBookDescription(String bookDescription) {
        this.bookDescription = bookDescription;
    }

    public String getIsBorrow() {
        return isBorrow;
    }

    public void setIsBorrow(String isBorrow) {
        this.isBorrow = isBorrow;
    }


    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bookName='" + bookName + '\'' +
                ", publishName='" + publishName + '\'' +
                ", author='" + author + '\'' +
                ", bookDescription='" + bookDescription + '\'' +
                ", isBorrow='" + isBorrow + '\'' +
                '}';
    }
}
